package edu.kit.csl.cratylus.io;

import edu.kit.csl.cratylus.datatypes.Corpus;

/**
 * This class uses the GoF design pattern Null Object as a concrete factory
 * in the Abstract Factory pattern. It is used when there is no implementation
 * according to the ibmModelLoader parameter. 
 */
public class LazyCorpusFactory implements CorpusFactory {

	/**
	 * {@inheritDoc}
	 * This method returns unconditionally an empty corpus.
	 */
	@Override
	public Corpus createCorpus() {
		return new Corpus();
	}

}
